﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Globalization;

namespace CalcSharp.MDIUI
{
    public partial class mkfunct_dialog : Form
    {
        public mkfunct_dialog()
        {
            InitializeComponent();
        }

        public string Fname
        {
            get { return this.fnamebox.Text.ToUpper(CultureInfo.CurrentCulture); }
        }

        private void fnamebox_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
            {
                this.DialogResult = DialogResult.OK;
            }
        }
    }
}